package com.strive.oauth2.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * @description:
 * @author: bingcun.chen
 * @Date: 2022/2/23 17:11
 * @Version 1.0
 */
@Setter
@Getter
@ConfigurationProperties(prefix = "strive.security")
@RefreshScope
public class SecurityProperties {
    //权限放行
    private AuthProperties auth = new AuthProperties();
    //白名单放行
    private PermitProperties ignore = new PermitProperties();
}
